<script>
import ajax from '../../../static/js/ajax.js';
import mock from '../../../static/js/mock-min.js';
import server from '../../../static/js/server.js';
import selectionSeat from '../../../static/js/selectionSeat.js';
</script>

<template>
    <div class="container">
        <div class="main">
            <div class="seats-container">
                <div class="seatkinds">
                    <ul>
                        <li class="seatskind-model">
                            <img src="../../../static/img/seat.png" alt="">可选座位
                        </li>
                        <li class="seatskind-model">
                            <img src="../../../static/img/seatdisable.png" alt="">已售座位
                        </li>
                        <li class="seatskind-model">
                            <img src="../../../static/img/seat-readly.png" alt="">已选座位
                        </li>
                    </ul>
                </div>
    
                <div class="seats-body">
                    <div class="seatnum">
                        <ul>
                            <li>1</li>
                            <li>2</li>
                            <li>3</li>
                            <li>4</li>
                            <li>5</li>
                            <li>6</li>
                            <li>7</li>
                            <li>8</li>
                            <li>9</li>
                        </ul>
                    </div>
                    <div class="seats" id="seats-main" onselectstart="return false;">
                                        <div>
                      <div class="seat" data-num="1-1"></div>

                      <div class="seat" data-num="1-2"></div>

                      <div class="seat disableseat" data-num="1-3"></div>

                      <div class="seat" data-num="1-4"></div>

                      <div class="seat disableseat" data-num="1-5"></div>

                      <div class="seat" data-num="1-6"></div>

                      <div class="seat" data-num="1-7"></div>

                      <div class="seat" data-num="1-8"></div>

                      <div class="seat disableseat" data-num="2-1"></div>

                      <div class="seat" data-num="2-2"></div>

                      <div class="seat" data-num="2-3"></div>

                      <div class="seat" data-num="2-4"></div>

                      <div class="seat" data-num="2-5"></div>

                      <div class="seat" data-num="2-6"></div>

                      <div class="seat" data-num="2-7"></div>

                      <div class="seat disableseat" data-num="2-8"></div>

                      <div class="seat" data-num="3-1"></div>

                      <div class="seat" data-num="3-2"></div>

                      <div class="seat" data-num="3-3"></div>

                      <div class="seat" data-num="3-4"></div>

                      <div class="seat" data-num="3-5"></div>

                      <div class="seat" data-num="3-6"></div>

                      <div class="seat" data-num="3-7"></div>

                      <div class="seat" data-num="3-8"></div>

                      <div class="seat" data-num="4-1"></div>

                      <div class="seat" data-num="4-2"></div>

                      <div class="seat" data-num="4-3"></div>

                      <div class="seat" data-num="4-4"></div>

                      <div class="seat" data-num="4-5"></div>

                      <div class="seat" data-num="4-6"></div>

                      <div class="seat" data-num="4-7"></div>

                      <div class="seat" data-num="4-8"></div>

                      <div class="seat" data-num="5-1"></div>

                      <div class="seat disableseat" data-num="5-2"></div>

                      <div class="seat" data-num="5-3"></div>

                      <div class="seat" data-num="5-4"></div>

                      <div class="seat" data-num="5-5"></div>

                      <div class="seat disableseat" data-num="5-6"></div>

                      <div class="seat" data-num="5-7"></div>

                      <div class="seat disableseat" data-num="5-8"></div>

                      <div class="seat" data-num="6-1"></div>

                      <div class="seat" data-num="6-2"></div>

                      <div class="seat" data-num="6-3"></div>

                      <div class="seat" data-num="6-4"></div>

                      <div class="seat" data-num="6-5"></div>

                      <div class="seat" data-num="6-6"></div>

                      <div class="seat" data-num="6-7"></div>

                      <div class="seat" data-num="6-8"></div>

                      <div class="seat" data-num="7-1"></div>

                      <div class="seat disableseat" data-num="7-2"></div>

                      <div class="seat" data-num="7-3"></div>

                      <div class="seat" data-num="7-4"></div>

                      <div class="seat" data-num="7-5"></div>

                      <div class="seat" data-num="7-6"></div>

                      <div class="seat" data-num="7-7"></div>

                      <div class="seat" data-num="7-8"></div>

                      <div class="seat" data-num="8-1"></div>

                      <div class="seat disableseat" data-num="8-2"></div>

                      <div class="seat" data-num="8-3"></div>

                      <div class="seat" data-num="8-4"></div>

                      <div class="seat" data-num="8-5"></div>

                      <div class="seat" data-num="8-6"></div>

                      <div class="seat" data-num="8-7"></div>

                      <div class="seat disableseat" data-num="8-8"></div>

                      <div class="seat" data-num="9-1"></div>

                      <div class="seat" data-num="9-2"></div>

                      <div class="seat disableseat" data-num="9-3"></div>

                      <div class="seat" data-num="9-4"></div>

                      <div class="seat" data-num="9-5"></div>

                      <div class="seat" data-num="9-6"></div>

                      <div class="seat" data-num="9-7"></div>

                      <div class="seat" data-num="9-8"></div>
                  </div>
                    </div>
                </div>
            </div>
            <div class="data">
                <div class="movie-data">
                    <img src="../../../static/img/img.jpg" alt="" id="movieimg">
                    <div class="text">
                        <p id="moviename">管理员</p>
                    </div>
                </div>
                <div class="cinema-data">
                    <p>影院: <span id="cinemaname">承光国际影城</span></p>
                    <p>影厅: <span>5号激光影厅</span></p>
                    <p>版本: <span>中文3D</span></p>
                    <p>场次: <span class="active">今天下午 13:15</span></p>
                    <p>票价: <span>¥66/张</span></p>
                </div>
                <div class="price">
                    <p>座位</p>
                    <div id="seatmini">
                        <p id="tips">点击左侧座位管理</p>
                    </div>
                </div>
                 <div class="countmoney">
                    <span>总价:</span>
                    <span>¥
                        <span id="pricemonry">0</span>
                    </span>
                </div>
                <div class="user-data">
                    <a href="#" id="givemoney">确认选座</a>
                </div>
            </div>
        </div>
     </div>
        
</template>
<script >

export default {
    
}
</script>

<style scoped>
.container {
  display: block;
}
.container .nav-img {
  width: 1200px;
  margin: 0 auto;
  height: 200px;
  background: url(../../../static/img/seatings-img.png);
}
.container .main {
  width: 1200px;
  margin-top: 20px;
  border: 1px solid #efefef;
  display: flex;
  justify-content: space-between;
}
.container .main .seats-container {
  width: 740px;
  height: 100%;
  padding: 30px;
}
.container .main .seats-container .seatkinds {
  width: 400px;
  margin: 0 auto;
}
.container .main .seats-container .seatkinds ul {
  display: flex;
  justify-content: space-between;
}
.container .main .seats-container .seatkinds ul .seatskind-model {
  width: 90px;
  display: inline-block;
}
.container .main .seats-container .seatkinds ul .seatskind-model img {
  margin-right: 8px;
}
.container .main .seats-container .screen {
  width: 550px;
  height: 80px;
  margin: 0 auto;
  margin-left: 100px;
  margin-top: 40px;
  background: url(../../../static/img/seatscreen.png);
}
.container .main .seats-container .seats-body {
  width: 100%;
  height: 500px;
  display: flex;
  justify-content: space-between;
}
.container .main .seats-container .seats-body .seatnum {
  width: 10%;
  height: 100%;
}
.container .main .seats-container .seats-body .seatnum ul li {
  width: 100%;
  height: 55px;
  line-height: 55px;
  text-align: center;
}
.container .main .seats-container .seats-body .seats {
  width: 85%;
  height: 100%;
  font-size: 0;
}
.container .main .seats-container .seats-body .seats .seat {
  display: inline-block;
  width: 68px;
  height: 55px;
  background: url(../../../static/img/seat.png) no-repeat center center;
  cursor: pointer;
}
.container .main .seats-container .seats-body .seats .disableseat {
  cursor: url(../../../static/img/not.png), auto;
  background: url(../../../static/img/seatdisable.png) no-repeat center center;
}
.container .main .seats-container .seats-body .seats .ableseat {
  background: url(../../../static/img/seat-readly.png) no-repeat center center;
}
.container .main .data {
  width: 400px;
  height: 100%;
  padding: 10px;
  background-color: #f9f9f9;
}
.container .main .data .movie-data {
  width: 76%;
  margin: 0 auto;
  padding: 10px;
  display: flex;
  justify-content: space-between;
}
.container .main .data .movie-data img {
  width: 156px;
  display: inline-block;
  padding: 2px;
  background-color: #fff;
  box-shadow: 0 0 5px 5px #e4e4e4;
}
.container .main .data .movie-data p:nth-of-type(1) {
  font-size: 20px;
  font-weight: 800;
  height: 30px;
  width: 150px;
  color: #333333;
  line-height: 30px;
  overflow: hidden !important;
  text-overflow: ellipsis ;
  white-space: nowrap;
}
.container .main .data .movie-data p {
  font-size: 12px;
  color: #999999;
  height: 30px;
  line-height: 30px;
}
.container .main .data .movie-data p span {
  margin-left: 5px;
  color: #333333;
  font-weight: 800;
}
.container .main .data .cinema-data {
  width: 76%;
  margin: 0 auto;
  padding: 10px;
}
.container .main .data .cinema-data p {
  font-size: 12px;
  color: #999999;
  height: 30px;
  line-height: 30px;
}
.container .main .data .cinema-data p span {
  margin-left: 5px;
  color: #333333;
  font-weight: 800;
}
.container .main .data .cinema-data p .active {
  color: #f13d37;
}
.container .main .data .price {
  width: 76%;
  min-height: 150px;
  padding: 10px;
  margin: 0 auto;
}
.container .main .data .price p {
  font-size: 12px;
  color: #999999;
  height: 30px;
  line-height: 30px;
}
.container .main .data .price #seatmini {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.container .main .data .price #seatmini .seat-num {
  display: inline-block;
  width: 48%;
  box-sizing: border-box;
  border: 3px solid #d4b2b2;
  border-radius: 10px;
  text-align: center;
  margin-bottom: 10px;
  color: #333333;
}
.container .main .data .price #seatmini p {
  width: 100%;
  text-align: center;
}
.container .main .data .price #seatmini .none {
  display: none;
}
.container .main .data .countmoney {
  width: 90%;
  height: 48px;
  font-size: 16px;
  font-weight: 600;
  margin: 0 auto;
  margin-top: 50px;
  border-bottom: 1px solid #cfcfcf;
}
.container .main .data .countmoney span:nth-of-type(2) {
  color: #f13d37;
}
.container .main .data .countmoney span:nth-of-type(2) span {
  font-size: 26px;
}
.container .main .data .user-data {
  width: 76%;
  padding: 10px;
  margin: 0 auto;
  margin-bottom: 20px;
}
.container .main .data .user-data p {
  width: 100%;
  text-align: center;
  font-size: 14px;
  color: #999999;
}
.container .main .data .user-data p span {
  color: #333333;
  font-weight: 600;
}
.container .main .data .user-data a {
  display: block;
  width: 100%;
  height: 50px;
  line-height: 50px;
  text-align: center;
  border-radius: 40px;
  margin-top: 20px;
  background-color: #dedede;
  font-size: 16px;
  color: #f9f9f9;
  pointer-events: none;
}
.container .main .data .user-data .isable {
  background-color: #f13d37;
  pointer-events: all;
}

</style>